﻿using FangPage.Core;
using FangPage.User.Model;
using FangPage.User;
using System;
using System.Collections.Generic;
using System.Text;

namespace FangPage.User.Controller
{
    public class islogin : FPController
    {
        public override void Controller()
        {
            AuthInfo authinfo =FPUser.Authorize();

            var res = new { islogin = authinfo.islogin, user = authinfo };

            FPResponse.WriteJson(res);
        }
    }
}
